Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

trap if sync->async call fails to produce a result#92

Merged
dicej merged 1 commit intomainfrom
dicej/fix-73
Mar 28, 2025
Merged

trap if sync->async call fails to produce a result#92
dicej merged 1 commit intomainfrom
dicej/fix-73

Conversation

@dicej
Copy link
Copy Markdown
Collaborator

@dicej dicej commented Mar 28, 2025

If the callee returns CallbackCode.WAIT and the event loop runs out of futures without producing a ready waitable, we should trap. We were doing that in other contexts, but not for sync->async calls.

Fixes #73

@dicej dicej enabled auto-merge March 28, 2025 18:22
If the callee returns `CallbackCode.WAIT` and the event loop runs out of futures
without producing a ready waitable, we should trap.  We were doing that in other
contexts, but not for sync->async calls.

Fixes #73

Signed-off-by: Joel Dice <joel.dice@fermyon.com>
@dicej dicej added this pull request to the merge queue Mar 28, 2025
Merged via the queue into main with commit b4841cd Mar 28, 2025
42 checks passed
@dicej dicej deleted the dicej/fix-73 branch March 31, 2025 20:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call finishes prematurely

1 participant